package com.wm.observer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName: ConcreteObserver
 * @Description: 具体观察者实现
 * @Author: WM
 * @Date: 2023/5/17 8:59
 */
public class ConcreteObserver implements Observer {
    private final Logger logger = LoggerFactory.getLogger(ConcreteObserver.class);

    @Override
    public void changeData(String message) {
        logger.info("receive message:" + message);
    }
}
